<div class="span12">
	<table class="table table-hover">
	
    <tbody>
    	<tr>
    	<?php if (!$this->list):?>
			<td></td><td><h5 class="text-center">你还没有收藏车源信息哦</h5></td><td></td><td></td>
		<?php endif;?>

    	</tr>
        <?php foreach ($this->list as $k=>$list):?>

        <tr id="t_<?= $list[id]?>">
        
        	<td class="c">
                <input type="checkbox" id="check_car" name="check_car" value="<?= $list[id]?>" >
            </td>
            
            <td class="cxmc">
                <a target="_blank" href="<?= $this->url(array('controller'=>'buy', 'action'=>'view', 'cid'=>"$list[fav_id]"),null,true);?>"><?= $list[title]?></a>
            </td>
            
            <td>
				收藏于: <?= date('Y/m/d H:i:s', $list[created_at])?>
            </td>
            
        </tr>
        <?php endforeach;?>

    </tbody>

	</table>
	<?php if ($this->list):?>
	<div class="checkbox">
		<input id="chk_all" class="pc vm" type="checkbox" name="chk_all" />全选
		&nbsp;
		<button class="btn btn-small btn-danger" type="button" id="s_favorites_del">删除</button>
	</div>
	<?php endif;?>
</div>
        

        
